package com.ecoolex.discount.sales.ws;

import java.util.List;

import com.ecoolex.discount.sales.entity.YouWorldUser;
import com.ecoolex.discount.sales.pojo.AddYouWorldUserDTO;
import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.framework.common.pojo.Sorting;

public interface YouWorldUserService {

	YouWorldUser get(Integer id);
	
	Pagination<YouWorldUser> query(String phone,Sorting[] sorts,Page page);
	
	void batchAdd(List<AddYouWorldUserDTO> record,String createUser) throws BizException;
	
	void delete(YouWorldUser record,String updateUser) throws BizException;
}
